package com.vcredit.creditcat.persistence.base;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.vcredit.creditcat.model.Relative;
import com.vcredit.framework.pagination.DefaultCriteria;

public interface RelativeMapper {
	void insert(Relative obj);

	void update(Relative obj);

	List<Relative> findAll();

	List<Relative> find(Relative obj);

	Relative findById(Long id);

	List<Relative> findByPage(DefaultCriteria criteria);

	List<Relative> findByProcessId(@Param("processId") Long processId, @Param("relativeType") Integer relativeType);
}
